package cn.sixmillions.ps.service.impl;

import cn.sixmillions.ps.entity.MinioFileHis;
import cn.sixmillions.ps.mapper.MinioFileHisMapper;
import cn.sixmillions.ps.service.IMinioFileHisService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;

/**
 * minio文件上传记录表服务实现类
 *
 * @author six
 * @since 2023-02-01
 */
@Service("minioFileHisService")
public class MinioFileHisServiceImpl extends ServiceImpl<MinioFileHisMapper, MinioFileHis> implements IMinioFileHisService {

    @Async
    @Override
    public void asyncSaveUploadHis(MinioFileHis fileHis) {
        this.save(fileHis);
    }
}

